package com.cug.smartranch.animal.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cug.smartranch.animal.admin.dao.entity.FeedPlan;
import com.cug.smartranch.animal.admin.dto.req.FeedPlanPageQueryReqDTO;
import com.cug.smartranch.animal.admin.dto.req.PlanSaveReqDTO;
import com.cug.smartranch.animal.admin.dto.req.PlanUpdateReqDTO;
import com.cug.smartranch.animal.admin.dto.resp.FeedPlanPageQueryRespDTO;

/**
 * 喂养计划记录业务逻辑层
 */
public interface FeedPlanService extends IService<FeedPlan> {
    void createPlan(PlanSaveReqDTO requestParam);

    void executeUncompletedPlan();

    IPage<FeedPlanPageQueryRespDTO> selectAllFeedPlan(FeedPlanPageQueryReqDTO requestParam);

    void deletePlan(Long id);

    void updatePlan(PlanUpdateReqDTO requestParam);
}
